<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
	<table border="0" width="100%">
		<tr>
			<td>
				<input name="id" type="hidden" value="<c:out value="${ques.id}"/>">
				试卷名称: <input name="name" value="<c:out value="${ques.name}"/>">
				数据库名: <input name="dbName" value="<c:out value="${ques.dbName}"/>">
				父试卷ID号:  <input name="parentId" size="5" value="<c:out value="${ques.parentId}"/>">
				标题显示:
				<select name="keySubjectId" style="width:150px;">
					<option value="0">[- 默认 -]</option>
					<c:forEach items="${subjects}" var="obj">
						<c:choose>
							<c:when test="${obj.id==ques.keySubjectId}">
								<option selected value="<c:out value="${obj.id}"/>"><c:out
									value="${obj.code}.${obj.brief}" /></option>
							</c:when>
							<c:otherwise>
								<option value="<c:out value="${obj.id}"/>"><c:out
									value="${obj.code}.${obj.brief}" /></option>
							</c:otherwise>
						</c:choose>
					</c:forEach>
				</select>
				<a href="javascript:void(0)">删除</a>
				| <a href="javascript:void(0)">保存</a>
				| <a href="javascript:void(0)">创建新试题</a>
				| <a href="javascript:void(0)">刷新试题</a>
			</td>
		</tr>
	</table>
</body>
</html>